<?php
/* @var $this HostsController */
/* @var $model Host */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'host-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_ip'); ?>
		<?php echo $form->textField($model,'hosts_ip',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_ip'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_name'); ?>
		<?php echo $form->textField($model,'hosts_name',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_hardware'); ?>
		<?php echo $form->textField($model,'hosts_hardware',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_hardware'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_so'); ?>
		<?php echo $form->textField($model,'hosts_so',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_so'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_mac'); ?>
		<?php echo $form->textField($model,'hosts_mac',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_mac'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_adaptador'); ?>
		<?php echo $form->textField($model,'hosts_adaptador',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hosts_adaptador'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hosts_liberados'); ?>
		<?php echo $form->textField($model,'hosts_liberados'); ?>
		<?php echo $form->error($model,'hosts_liberados'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->